<?php
/**
 * Created by PhpStorm.
 * User: wx:wenyi2048
 * Date: 2022/3/18 0018
 * Time: 09:24
 */

namespace app\admin\controller\mk;
/*评论管理 */

use app\admin\Controller;
use app\common\service\CommentsService;

\think\Loader::import('controller/Controller', \think\Config::get('traits_path'), EXT);

class Comments extends Controller
{
    use \app\admin\traits\controller\Controller;

    public function index()
    {
        $param = $this->request->param();
        $service = new CommentsService();//数据处理
        $service->searchPage($this->view,$param);
        return $this->view->fetch();
    }

    public function recycleBin()
    {
        $param = $this->request->param();
        $service = new CommentsService();//数据处理
        $service->searchPage($this->view,$param,1);
        return $this->view->fetch();
    }

    public function target(){

    }

}